package com.dqyt.khjc.utils;

import sun.misc.BASE64Decoder;

import javax.imageio.ImageIO;
import javax.xml.bind.DatatypeConverter;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class BoTest {

    public static void main(String[] args) {
//        String aaa = "iVBORw0KGgoAAAANSUhEUgAAAmwAAAEOCAYAAAA0QUvpAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADZKSURBVHhe7d0HlK1tWZ9x0y0h9q5RiNiwi12DNSr2bhBBxYYV7B2sKBoxGguCFTXYJQpoLJh8FlCJBRF7jz2xxJKYev/0e1Zet3tm9syZOWfOzHWt9V9zZs6evffMvO/z3M9dnykiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIirjp/f/TMd8q/IyIiIuIScZfRg0bfMXrC6FNGLzZivP2j0d8bRURERMQt5HVHvzv6v3fqf4yeOnri6LGjDxq90eglR4y7fzD6u6OIiIiIuEm8wegPR8tg2+r/jP5y9Eejp4/+/egLRvcbvf7o7qNnH+WJi4iIiLhAnnv02aNfG/2v0T7DbSuP+e8jRt5Pj7539DUjnrh7j+45et4RI658uIiIiIhzQr7aa4y+bPR7o/892mesHaXlifuz0W+MfmAknPoJo9ccPeco4y0iIiLiHJC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iIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIuLieaZn+n9gae35CBd9FwAAAABJRU5ErkJggg==";
//        convertBase64ToImage(aaa);

//
//        List<String>  adada =new ArrayList<>();
//        adada.add("aaa");
//        adada.add("bbb");

//        String  aaa ="王虹王瑞";
//        System.out.println(aaa.indexOf("、"));
//        System.out.println(TimeUtil.currentTimeMillis());

//        byte aaa = 0x2e & 0xff;
//        System.out.println(aaa);
//
//        String abab ="2E";
//        String vv = asciiToHex(abab);
//        System.out.println(vv);



//
//        String reg = "^(?![0-9]+$)(?![^0-9]+$)(?![a-zA-Z]+$)(?![^a-zA-Z]+$)(?![a-zA-Z0-9]+$)[a-zA-Z0-9\\S]{6,}+$";
//        System.out.println("123".matches(reg));
//        System.out.println("123@@".matches(reg));
//        System.out.println("zzzzzzzzzzz".matches(reg));
//        System.out.println("zzzzzzzz@@zzz".matches(reg));
//        System.out.println("sss123".matches(reg));
//        System.out.println("sgg123@@$@".matches(reg));
//        System.out.println("sgg@12".matches(reg));
//        System.out.println("sgg@.".matches(reg));

//        String aaa= "0Pa / -119 Pa  不合格";
//        String kqjyceStr = aaa.trim();
//        if ("".equals(kqjyceStr) || StringUtils.isBaohan(kqjyceStr, "不合格")) {
//            if("".equals(kqjyceStr)){
//                System.out.println("22222");
//            }else{
//                String jtyl11 =StringUtils.replaceBhg(kqjyceStr);
//
//                String[] jty22 = jtyl11.split("/");
//                if (jty22.length >= 2) {
//                    String ggg = jty22[1].trim().replace(" ","");
//                    System.out.println(ggg);
//                }
//            }
//        }else if (StringUtils.isBaohan(kqjyceStr, "合格")) {
//            System.out.println("22222");
//        }else{
//            System.out.println("33333");
//        }

//        String pw1="Ba123456@";
//        //密码必须是包含大写字母、小写字母、数字、特殊符号（不是字母，数字，下划线，汉字的字符）的6位以上组合
//        String reg = "^(?![A-Za-z0-9]+$)(?![a-z0-9\\W]+$)(?![A-Za-z\\W]+$)(?![A-Z0-9\\W]+$)[a-zA-Z0-9\\W]{6,}$";
//
//        if(pw1.matches(reg)){
//            System.out.println("1111");
//        }else{
//            System.out.println("2222");
//        }
    }



    private static String asciiToHex(String asciiValue){
        char[] chars = asciiValue.toCharArray();
        StringBuffer hex = new StringBuffer();
        for (int i = 0; i < chars.length; i++){
            hex.append(Integer.toHexString((int) chars[i]));
        }
        return hex.toString();
    }


    /**
     * base64转图片
     * @param base64Code base64码
     */
    public static void convertBase64ToImage(String base64Code){
        BufferedImage image = null;

        byte[] imageByte = null;
        try {
            imageByte = DatatypeConverter.parseBase64Binary(base64Code);

            ByteArrayInputStream bis = new ByteArrayInputStream(imageByte);
            image = ImageIO.read(new ByteArrayInputStream(imageByte));
            bis.close();
            File outputfile = new File("d:\\sealImg.jpg");
            ImageIO.write(image, "jpg", outputfile);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
